//
//  ICMBalanceBasicInfoView.h
//  ICrEAM
//
//  Created by kuroro on 16/11/25.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICMTitleTextFeildView.h"
#import "ICMTitleTextView.h"
#import "ICMTitleSubTitleView.h"
#import "ICMBalanceBasicInfoModel.h"
@class ICMBalanceBasicInfoModel;

@protocol ICMBalanceBasicInfoViewDelegate <NSObject>

@optional

- (void)clickMonitorBtn;

- (void)clickCarInfoBtn;

- (void)clickCarOwnerBtn;

- (void)clickYesBtn;

@end

@interface ICMBalanceBasicInfoView : UIView
@property (nonatomic,strong) ICMTitleTextFeildView *vinNumberView;    //vin
@property (nonatomic,strong) ICMTitleTextFeildView *plateNumberView;  //车牌号
@property (nonatomic,strong) ICMTitleTextFeildView *modelCodeView;    //车型
@property (nonatomic,strong) ICMTitleTextFeildView *salesDateView;    //购车发票日期
@property (nonatomic,strong) ICMTitleTextFeildView *useKindView;      //使用性质
@property (nonatomic,strong) ICMTitleTextFeildView *accountsTypeView; //结算方式
@property (nonatomic,strong) ICMTitleTextFeildView *levelView;        //行管类型
@property (nonatomic,strong) ICMTitleTextFeildView *remarkView;       //备注
@property (nonatomic,strong) ICMTitleTextFeildView *proxyNOView;      //委托书号
@property (nonatomic,strong) ICMTitleTextFeildView *createDateView;   //开单日期
@property (nonatomic,strong) ICMTitleTextFeildView *ownerNameView;    //车主姓名
@property (nonatomic,strong) ICMTitleTextFeildView *repairTypeView;   //维修类型
@property (nonatomic,strong) ICMTitleTextFeildView *deliverNameView;  //送修人姓名
@property (nonatomic,strong) ICMTitleTextFeildView *deliverMobileView;//送修人手机
@property (nonatomic,strong) ICMTitleTextFeildView *visitDateView;    //回访时间
@property (nonatomic,strong) ICMTitleTextFeildView *visitTypeView;    //回访方式
@property (nonatomic,strong) ICMTitleTextFeildView *visitReasonView;  //不回访原因
@property (nonatomic,strong) ICMTitleTextFeildView *oldPartView;      //旧件处理
@property (nonatomic, strong) NSString *HONEST_BUSINESS; //诚信经营
@property (nonatomic) BOOL isVisit;

//界面值是否改变
@property (nonatomic, assign) BOOL hasViewValueChanged;

@property (nonatomic, weak) id<ICMBalanceBasicInfoViewDelegate>delegate;

+ (instancetype)createICMBalanceBasicInfoViewWithFrame:(CGRect)frame;
- (void)setBasicInfoViewWithModel:(ICMBalanceBasicInfoModel*)model;
@end
